Dynomotion

Group: DynoMotion Message: 8061 From: deanw1a Date: 8/3/2013
Subject: Code - SetConsoleCallback and KMotion.exe
I see that SetConsoleCallback allows a single callback to get console messages.

Does KMotion.exe set the callback - or does it get its console messages some other way?
If KMotion.exe is not using this single callback, there is no problem.

This is my concern:

If I SetConsoleCallback within KMotionCNC code - Then open KMotion.exe, KMotion.exe would steal the callback from CNC.

If I close CNC and re-open it - it would steal the callback from KMotion.exe.

Thanks.
Group: DynoMotion Message: 8063 From: Tom Kerekes Date: 8/3/2013
Subject: Re: Code - SetConsoleCallback and KMotion.exe
Hi Dean,

Yes KMotion.exe sets the callback.

I don't really see a major issue.  KMotion.exe wasn't intended to be normally used.  It is just for initial configuration and diagnostics.

Regards
TK